cameraControlTarget
Type
function
Summary
Fetches the name of the camera control that sent the message.
Syntax
the cameraControlTarget
cameraControlTarget()
Description
While in the context of a message that has been dispatched from a camera control created using cameraControlCreate, you can use the cameraControlTarget function to fetch the name of the control that sent the message.
note
Currently, there are no messages sent from camera controls so this function is of limited use. In general, messages dispatched by the camera control are sent to the object containing the script which created it.
Examples
put cameraControlTarget() into tTarget
if cameraControlTarget() is "myControl" then
...
end if
Related
command: cameraControlDelete, cameraControlDo, cameraControlCreate, cameraControlSet
function: cameraControlGet, cameraControls
Compatibility and Support
Introduced
LiveCode 7.1
OS
mac
windows
ios
android